import 'package:flutter_todo_ohos/pages/home/home_view.dart';
import 'package:getx_scaffold_ohos/getx_scaffold_ohos.dart';

import '../pages/login/login_view.dart';
import '../pages/splash/splash_binding.dart';
import '../pages/splash/splash_view.dart';
import 'index.dart';

class AppPages {
  static final pages = [
    GetPage(
      name: RouteKey.root,
      page: () => const SplashPage(),
      binding: SplashBinding(),
    ),
    GetPage(
      name: RouteKey.home,
      page: () => HomePage(),
    ),
    GetPage(
      name: RouteKey.login,
      page: () => LoginPage(),
    ),
  ];
}
